package com.atguigu.gmall.order.vo;

import lombok.Data;

import java.util.List;

/**
 * @author lfy
 * @Description 拆分的子订单的数据
 * @create 2023-08-07 9:25
 */
@Data
public class OrderSpiltResultVo {

    //子订单id
    private Long orderId;
    private String consignee;
    private String consigneeTel;
    private String orderComment;
    private String orderBody;
    private String deliveryAddress;
    private String paymentWay = "2";

    //子订单的商品集合
    private List<Detail> details;

    //传入时的仓库编号
    private Long wareId;
    @Data
    public static class Detail {
        private Long skuId;
        private Integer skuNum;
        private String skuName;
    }

}
